﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Lapv.Master" AutoEventWireup="true" CodeBehind="AccAdd.aspx.cs" Inherits="Lapv.Account.AccAdd" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="header" runat="server">
    <%--menu tab  --%>
    <div class="tabnav">
        <ul>
            <li><a href="<%= domain%>Account/AccMN.aspx" class="list_t">D/S Tài khoản</a></li>
            <li class="active"><a href="<%= domain%>Account/AccAdd.aspx" class="add_t">Thêm Tài khoản</a></li>
            <li><a href="<%= domain%>Account/RoleAdd.aspx" class="list_t">Thêm role</a></li>
            <li><a href="<%= domain%>Account/PermissionAdd.aspx" class="add_t">Thêm Permission</a></li>   
        </ul>
        <div class="clr">
        </div>
    </div>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="content" runat="server">
    <%--form1 add & edit--%>
    <div class="form form1">
        <div id="id" runat=server> 
            <span>Mã tài khoản</span>
            <asp:TextBox ID="txtId" runat="server"></asp:TextBox>
        </div>
        <div>
            <span>Tài khản</span>
            <div>
             <asp:TextBox ID="txtUserName" runat="server" />              
            </div>
        </div>
        <div>
            <span>Mật khẩu</span>
            <div>
             <asp:TextBox ID="txtPass" TextMode="Password" runat="server" />
            </div>
        </div>
        <div>
            <span>Nhập lại mật khẩu</span>
            <div>
                <asp:TextBox ID="txtRePass" runat="server" TextMode="Password"></asp:TextBox>
            </div>
        </div>
        <div>
            <span>Quyền </span>
            <div>
                <asp:DropDownList ID="ddlRole" runat="server" Width="150px">
                    <asp:ListItem Text="Chọn quyền" Value="0"></asp:ListItem>
                </asp:DropDownList>
            </div>
        </div>
        
        <div>
            <span>IP truy cập</span>
            <div>
               <asp:DropDownList ID="ddlIP" runat="server" Width="150px">
                    <asp:ListItem Text="Bất kỳ IP nào" Value="*"></asp:ListItem>
                    <asp:ListItem Text="Cập nhật sau" Value=""></asp:ListItem>
                </asp:DropDownList>
            </div>
        </div> 
        <div>
            <span></span>
            <div>
                <asp:Button ID="bt_luu" runat="server" Text="Lưu" OnClick="btnEdit_Click"/>
                <input type="button" value="Hủy" />
            </div>
        </div>
    </div>
</asp:Content>